package cn.lwj.webService.webService;

import cn.lwj.webService.webService.impl.DemoWebServiceImpl;
import javax.xml.ws.Endpoint;

public class DemoWebServicePublish {
    public static void main(String[] args) {
        //定义webService的发布地址
        String address = "http://149.0.45.31:8085/demoWebService/";
        Endpoint.publish(address, new DemoWebServiceImpl());
        System.out.println("webService发布成功!");
    }
}
